package com.wen.mapper;

import com.wen.pojo.OutStore;
import com.wen.pojo.Product;

import java.util.List;

public interface OutStoreMapper {
    //添加出库单
    int addCk(OutStore outStore);

    //分页查询出库单
    List<OutStore> allOutList(OutStore outStore);

    //修改出库状态
    int updIsOut(OutStore outStore);
    //消减库存数量
    int updKc(Product product);

    //根据商品id查询库存数量
    Product findById(Integer productId);
}